package com.bao.demo.work.test01;

public class Architect extends Designer{
    private double guPiao;

    public Architect(double goodMoney, double guPiao) {
        super(goodMoney);
        this.guPiao = guPiao;
    }

    public Architect() {
    }

    public Architect(String id, String name, int age, int money, double goodMoney, double guPiao) {
        super(id, name, age, money, goodMoney);
        this.guPiao = guPiao;
    }

    public double getGuPiao() {
        return guPiao;
    }

    public void setGuPiao(double guPiao) {
        this.guPiao = guPiao;
    }

    @Override
    public String getInfo() {
        return super.getInfo()+",guPiao="+guPiao;
    }
}
